package com.Extends.Interface.Demo;
class BasketballCoach extends Coach{
    public BasketballCoach() {
    }

    public BasketballCoach(String name, int age) {
        super(name, age);
    }
    public void teach(){
        System.out.println("篮球教练需要教学");
    }
    public void eat(){
        System.out.println("篮球教练需要吃饭");
    }
}
